package com.starbaba.spread.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.base.common.database.BaseDao;
import com.base.common.exception.AppException;
import com.starbaba.comment.model.EntityVO;
import com.starbaba.model.dictionary.Constant;

public class getChannelModel  implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3408432007501579573L;
	
	private long id;
	
	private Long parentid;
	
	private String getAllList;
	
	private String channel;

    private java.lang.Integer status;
	
	private String startTime;
	
	private String endTime;
	
	private static List<EntityVO> statusList;

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public java.lang.Integer getStatus() {
		return status;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}
	
	public void initStatus() {
		if (null != statusList)
			return;
		
		statusList = new ArrayList<EntityVO>();
		EntityVO vo = new EntityVO();		
		vo.setKey("1");
		vo.setValue( "在线");
		statusList.add(vo);
		
		vo = new EntityVO();
		vo.setKey("0");
		vo.setValue("已下线");
		statusList.add(vo);
	}
	
	public getChannelModel() {
		initStatus();
	}
	
	public static List<EntityVO> getStatusList() {
		return statusList;
	}
	
	public static void setStatusList(List<EntityVO> statusList) {
		getChannelModel.statusList = statusList;
	}

	public Long getParentid() {
		return parentid;
	}

	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}

	public String getGetAllList() {
		return getAllList;
	}

	public void setGetAllList(String getAllList) {
		this.getAllList = getAllList;
	}

	
}
